package com.ruoyi.ziran.domain;

import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户答题的试卷对象 zr_paper_user
 * 
 * @author ruoyi
 * @date 2024-10-29
 */
@Data
public class ZrPaperUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 试卷id */
    @Excel(name = "试卷id")
    private Long paperId;

    /** 答题人 */
    @Excel(name = "答题人")
    private String answerUserId;

    /** 答题人 */
    @Excel(name = "答题人")
    private String answerUserName;


    /** 分数 */
    @Excel(name = "分数")
    private BigDecimal score;
    @TableField(exist = false)
    private List<ZrPaperUserItem> list;
    @TableField(exist = false)
    private ZrPaper zrPaper;

}
